package com.lc.service;

import com.cnpc.framework.base.entity.BaseResponse;
import com.cnpc.framework.base.service.BaseService;
import com.lc.entity.LogRecord;


/**
 * Created by 下雨不带伞 on 2020/3/20.
 */
public interface LogService extends BaseService {

    public BaseResponse addLogRecord(LogRecord logRecord) throws Exception;
    public BaseResponse addLogRecord(String mac,String ip,String device,String userId,String req,String context,String exc,String logType,String type);
    public BaseResponse addRemoteLogRecord(String mac,String ip,String device,String userId,String req,String context,String exc,String logType,String type,String account,String pwd,String code,String openId ,String locX ,String locY ,String location );
    public BaseResponse getLogRecordList(String token,String logType, String uid, String startTime, String endTime, String content, String type, Integer pageNum, Integer pageSize) throws Exception;
    public BaseResponse getLogRecord(String id) throws Exception;
    public BaseResponse deleteLogRecord(String id) throws Exception;

}
